#ifndef HOMEPAGE_H
#define HOMEPAGE_H

#include <QtWidgets>
#include "m0wig.h"
#include "modbuswig.h"
#include "mbappwig.h"
#include "setwig.h"
#include <QWidget>
#include <QDebug>
#include "mqtthandler.h"
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonObject>
#include <QByteArray>
#include <QDate>
namespace Ui {
class HomePage;
}

class HomePage : public QWidget
{
    Q_OBJECT

public:
    explicit HomePage(QWidget *parent = 0);
    ~HomePage();
    MqttHandler mqt;

private slots:
    void mySlot();
    void dataUpSlot(QByteArray);
private:
    Ui::HomePage *ui;
    M0Wig *m0Wig;
    ModbusWig *modbusWig;
    MbappWig *mbappWig;
    SetWig *setWig;
};

#endif // HOMEPAGE_H
